/**
 * Copyright (c) 2018 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.cw.entity.background;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Date;

/**
 * 投诉记录 实体类
 *
 * @author cw
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("complaint_record")
public class ComplaintEntity implements Serializable {

	@ApiModelProperty(value = "用户ID")
	private String id;

	@ApiModelProperty(value = "座位编号", required = true)
	private String seatNo;

	@ApiModelProperty(value = "教室编号", required = true)
	private String roomNo;

	@ApiModelProperty(value = "投诉类型或理由", required = true)
	private String complaintRemark;

	@ApiModelProperty(value = "扣除信用分数")
	private Integer subtractScore;

	@ApiModelProperty(value = "日期", example = "yyyy-MM-dd", required = true)
	@JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
	private Date complaintDate;

	@ApiModelProperty(value = "处理状态(1-待处理 2已处理)")
	private Integer processStatus;

	private Integer isValid;

}